package demo1;

import demo1.BinaryTree;

import java.util.ArrayList;
import java.util.List;

public class Test1 {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();
        binaryTree.levelOrder(root);
        System.out.println();
        System.out.println(binaryTree.preOrder(root).toString());
        List<Integer> list = new ArrayList<>();

    }
}
